package com.zmx.oauth2.user.repository;

import com.zmx.common.common.repository.BaseRepository;
import com.zmx.oauth2.user.entity.SysUser;

/**
 * @Description: 系统用户仓储类
 * @ClassName: UserRepository
 * @Author zhaomxr
 * @Date 2021-11-05 16:34
 */
public interface UserRepository extends BaseRepository<SysUser> {

    SysUser findByUserName(String userName);

    SysUser findByUserNameAndPassWord(String userName, String passWord);
}
